package com.stadium.service;

import java.util.List;
import java.util.Map;

import com.stadium.dto.GameEventWithScheduleDto;
import com.stadium.dto.TeamAndEventDto;
import com.stadium.dto.TeamLogDto;
import com.stadium.entity.GameTeam;
import com.stadium.dto.GameTeamDto;
import com.stadium.entity.TeamRecord;
import com.stadium.vo.GameTeamVo;
import com.stadium.vo.searchVo.GameTeamSearchVo;

/**
 * 球队详情
 *
 * @author wsl
 * @email
 * @date 2021-05-04 09:39:09
 */
public interface GameTeamSV{
	List<GameTeam> queryBySQL(String sql, Map<String, Object> map);

    void save(GameTeamVo gameTeamVo);

    void saveBatch(List<GameTeam> list);

    void delete(String id);

    void deleteBatch(String[] ids);

    void update(GameTeamVo gameTeamVo);

    List<GameTeamDto> query(GameTeamSearchVo searchVo);

    GameTeamDto get(String id);

    int getCount(GameTeamSearchVo gameTeamsearchVo);

    List<GameTeamDto> queryByUserId(GameTeamSearchVo searchVo);

    void adminPassOnTo(String teamId, String userId);

    List<GameEventWithScheduleDto> queryEventsByTeamId(String teamId);

    List<TeamAndEventDto> getListByUserId(String userId);

    List<TeamLogDto> TeamLog(String teamId);

    TeamRecord TeamRecord(String teamId);
}
